package com.tencent.wxcloudrun.mapper;

import com.tencent.wxcloudrun.dto.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Entity com.tencent.wxcloudrun.dto.Address
 */
@Mapper
public interface AddressMapper {

    void addAddress(Address address);

    List<Address> queryAddress(String openid);

    int deleteAddress(String id);

    Address addressDetail(String id);

    Address defaultAddress(String openid);

    int updateAddress(Address json);
}




